package main

import (
	"fmt"
	myproto "gitee.com/go-programming-tour/gprc-demo/proto"
	"github.com/golang/protobuf/proto"
)

func main() {
	req := myproto.HelloRequest{
		Name: "sdf",
	}
	rsp, _ := proto.Marshal(&req)
	fmt.Println(req)
	fmt.Println(rsp)
	fmt.Println(string(rsp))
}
